package com.briup.ch06.finals;

public class Test2 {
    public static void main(String[] args) {
        SingleTon1 s1=SingleTon1.getInstance();
        SingleTon1 s2=SingleTon1.getInstance();
        SingleTon1 s3=SingleTon1.getInstance();
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s1==s3);

    }
}
